package com.air.ota.util;

public class AppConstant {
	
	//inbound消息来源
	public static int _inboundMsgSource_SMS=0;//短信网关
	public  static int _inboundMsgSource_SZT=0;//深圳通
	
	//outbound消息目的地
	public  static int _outboundMsgDesc_SMS=0;//短信网关
	public  static int _outboundMsgDesc_SZT=1;//深圳通
	
	//交易处理结果（仅限开通）
	public  static int _transResult_processing=0;//处理中 default
	public  static int _transResult_failure=-1;//失败
	public  static int _transResult_success_szt=1;//深圳通成功等待utk确认
	public  static int _transResult_success_all=2;//utk卡和深圳通都成功
	
	//注销处理结果
	public static int _cancelResult_processing = 0;//处理中default;
	public static int _cancelResult_pwdAuth_success=1;//密码认证通过
	public static int _cancelResult_init_success=2;
	public static int _cancelResult_result_success=3;
	public static int _cancelResult_confirm_success=4;
	
	public static int _cancelResult_pwdAuth_failure=-1;
	public static int _cancelResult_init_failure=-2;
	public static int _cancelResult_result_failure=-3;
	public static int _cancelResult_confirm_failure=-4;
	
	//圈存处理结果
	public static int _depositResult_processing = 0 ;//处理中 default
	
	public static int _depositResult_epayCharge_success = 1;//翼支付扣款成功
	public static int _depositResult_sztRequest_success = 2;//SZT请求成功
	public static int _depositResult_utkResult_success = 3;//UTK圈存结果成功
	public static int _depositResult_sztResult_success = 4;//SZT圈存结果成功
	
	
	public static int _depositResult_failure = -9;//失败
	public static int _depositResult_epayCharge_failure = -1;//翼支付扣款失败
	public static int _depositResult_sztRequest_failure = -2;//SZT请求失败
	public static int _depositResult_utkResult_failure = -3;//UTK圈存结果失败
	public static int _depositResult_sztResult_failure = -4;//SZT圈存结果失败
	public static int _depositResult_refund_success = -5;//翼支付退款成功
	public static int _depositResult_refund_failure = -6;//翼支付退款失败
	
	public static int _depositResult_pwdAuth_failure = -100;//密码验证失败
	
	
	//UTK命令类型
	public  static byte _htkCmdType_depositRequest =0x01; //钱包圈存请求
	public  static byte _htkCmdType_depositResult =0x02;  //钱包圈存结果
	public  static byte _htkCmdType_regRequest =0x04;     //钱包开通认证请求
	public  static byte _htkCmdType_regResult =0x05;      //钱包开通结果
	
	public  static byte _htkCmdType_depositResponse =0x11;//钱包圈存确认
	public  static byte _htkCmdType_regResponse =0x15;    //钱包开通认证回复
	
	
	
	public final static String _outbound_msg_type_regResponse = "REG_RESPONSE";
	public final static String _outbound_msg_type_depositResponse = "DEPOSIT_RESPONSE";
	public final static String _outbound_msg_type_cancelInitResponse = "CANCEL_INIT_RESPONSE";
	public final static String _outbound_msg_type_cancelResultResponse = "CANCEL_RESULT_RESPONSE";
	public final static String _outbound_msg_type_pwdModifyResponse = "PWD_MODIFY_RESPONSE";
	public final static String _outbound_msg_type_depositSyncResponse = "DEPOSIT_SYNC_RESPONSE";
	
}
